#pragma once

#include <QObject>

class HardwareInfo  : public QObject
{
	Q_OBJECT

public:
	HardwareInfo(QObject *parent = nullptr);
	~HardwareInfo();
	QString get_mac_id();
	QString get_cpu_id();
	QString get_machine_code();
	QString get_visible_key();
	QString get_md5_key();
	bool is_authorized();
	void save_authorization_info(QString md5_key);

private:
	QString m_str_md5_key;
	QString m_str_machine_code;
};
